package com.cosina.game.fly;

import android.app.Activity;
import android.content.Context;
import android.opengl.GLSurfaceView;
import android.os.Bundle;
import android.os.PowerManager;

public class Fly extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        
        PowerManager pm = (PowerManager)this.getSystemService(Context.POWER_SERVICE);
        pm.newWakeLock(PowerManager.FULL_WAKE_LOCK,"foo").acquire();
        
        GLSurfaceView gsv = new GLSurfaceView(this);
        gsv.setRenderer(new FlyRender());
        setContentView(gsv);
    }
}